<?php

  class Paren{

      public function al(){
          static::test();
      }
      public static function test(){
          echo 456789;
      }
  }

  class child extends Paren{

       public static function test(){
             echo 123456;
       }
  }

  $par = new Paren(1);
  $par->al();